#include<stdio.h>
int main()
{
	int n = 1;
	int count = 0;
	for (n = 1; n <100; n++)
	{
		if (n % 10 == 9||n/10==9)
		{
			printf("%d  ", n);
			count++;
			if (n % 10 == 9 && n / 10 == 9)
			{
				count ++;
			}
		}	
	}
	printf("\n");
	printf("count=%d", count);
	return 0;
}